package util;

public enum IdFactory
{
   INSTANCE;

   private int objId = 1;

   public static int getNextObjId()
   {
      return INSTANCE.objId++;
   }
}
